package raceReservationServer.raceServerGateway;

// DO = Domain Object; Details come from different sources
public class RaceDO {

	private String name;
	private float distance;
	private String date;
	private int availablePlaces;

	public RaceDO(String n, float dist, String d, int s) {
		name = n;
		distance = dist;
		date = d;
		availablePlaces = s;
	}

	public String getName() {
		return name;
	}
	
	public float getDistance() {
		return distance;
	}

	public String getDate() {
		return date;
	}

	public int getaAvailablePlaces() {
		return availablePlaces;
	}
}
